<?php
use yii\helpers\Url;
?>
<div style="background: #2DAD5E;text-align: center;height: 2rem;line-height: 2rem;color: #fff">

    <p>选择区域</p>

</div>
<br/>
<a style="width: 90%" href="<?=Url::to(['manager/info'])?>?area=0" class="weui-btn weui-btn_default">全区</a>

<?php foreach ($areas as $area){?>
    <a style="width: 90%" href="<?=Url::to(['manager/info'])?>?area=<?=$area['id']?>" class="weui-btn weui-btn_default"><?=$area['areaname']?></a>
<?php }?>
